package cn.edu.njtc.service.impl;

import cn.edu.njtc.entity.vo.AdminPermissionVo;
import cn.edu.njtc.mapper.PermissionMapper;
import cn.edu.njtc.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;


    @Override
    public AdminPermissionVo selectPermission(String phone) {
        return permissionMapper.selectPermission(phone);
    }
}
